package com.sun.util;

import java.util.HashMap;
import java.util.Map;

public class RangeUtil {
	public static Map<String,String> RangetoPeople(String range){
		HashMap<String, String> hashMap = new HashMap<String,String>();
		if(range.equals("特大")){
			hashMap.put("range", "至少100");
			hashMap.put("rangeStr", "特大");
		}else if(range.equals("大型")){
			hashMap.put("range", "100");
			hashMap.put("rangeStr", "大型");
		}else if(range.equals("中型")){
			hashMap.put("range", "50");
			hashMap.put("rangeStr", "中型");
		}else if(range.equals("小型")){
			hashMap.put("range", "30");
			hashMap.put("rangeStr", "小型");
		}else if(range.equals("迷你")){
			hashMap.put("range", "5");
			hashMap.put("rangeStr", "迷你");
		}
		return hashMap;
	}
}
